# -*- coding:UTF-8 -*-
from rest_framework import serializers
from .models import Article, Reporter


class ArticleSerializer(serializers.ModelSerializer):
    class Meta:
        model = Article
        fields = '__all__'


class ReporterSerializer(serializers.ModelSerializer):
    class Meta:
        model = Reporter
        fields= '__all__'
